import asyncio

async def hello_world():
    print("Hello World!")
    return 'hello world'

loop = asyncio.get_event_loop()
# Blocking call which returns when the hello_world() coroutine is done
result = loop.run_until_complete(hello_world())
print(result)
loop.close()

# Hello World!